package com.yf.dxs.wo.controller;

import com.yf.dxs.wo.rep.WR;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/wo/user")
@Slf4j
public class ApiUserController {

    @RequestMapping("/sub")
    public WR sub(@RequestBody(required = false) String body){
        log.info("用户订阅:{}",body);
        return WR.ok();
    }

}
